package me.zhengjie.sqlservice.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import me.zhengjie.mapper.WcsLineBodyAbnormalHistoryMapper;
import me.zhengjie.pojo.entity.WcsLineBodyAbnormalHistory;
import me.zhengjie.sqlservice.WcsLineBodyAbnormalHistoryService;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class WcsLineBodyAbnormalHistoryServiceImpl extends ServiceImpl<WcsLineBodyAbnormalHistoryMapper, WcsLineBodyAbnormalHistory> implements WcsLineBodyAbnormalHistoryService {
    private final WcsLineBodyAbnormalHistoryMapper wcsLineBodyAbnormalHistoryMapper;

    @Override
    public boolean insert(WcsLineBodyAbnormalHistory wcsLineBodyAbnormalHistory) {
        return wcsLineBodyAbnormalHistoryMapper.insert(wcsLineBodyAbnormalHistory) >0;
    }
}
